package com.zqh.app.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigInteger;
import java.util.Date;

public class AllAppData {
    private long allAppDataId;
    private Date date;
    private long newUsers;
    private long totalUsers;
    private long launches;
    private long activityUsers;
    private Date addTime;

    public AllAppData(long allAppDataId, Date date, long newUsers, long totalUsers, long launches, long activityUsers, Date addTime) {
        this.allAppDataId = allAppDataId;
        this.date = date;
        this.newUsers = newUsers;
        this.totalUsers = totalUsers;
        this.launches = launches;
        this.activityUsers = activityUsers;
        this.addTime = addTime;
    }

    public AllAppData(){
        super();
    }

    public long getAllAppDataId() {
        return allAppDataId;
    }

    public void setAllAppDataId(long allAppDataId) {
        this.allAppDataId = allAppDataId;
    }

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public long getNewUsers() {
        return newUsers;
    }

    public void setNewUsers(long newUsers) {
        this.newUsers = newUsers;
    }

    public long getTotalUsers() {
        return totalUsers;
    }

    public void setTotalUsers(long totalUsers) {
        this.totalUsers = totalUsers;
    }

    public long getLaunches() {
        return launches;
    }

    public void setLaunches(long launches) {
        this.launches = launches;
    }

    public long getActivityUsers() {
        return activityUsers;
    }

    public void setActivityUsers(long activityUsers) {
        this.activityUsers = activityUsers;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}
